<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<title>PPGraphics2D (POI API Documentation)</title>
<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="PPGraphics2D (POI API Documentation)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/PPGraphics2D.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/poi/hslf/model/PPFont.html" title="class in org.apache.poi.hslf.model"><span class="strong">PREV CLASS</span></a></li>
<li><a href="../../../../../org/apache/poi/hslf/model/Shape.html" title="class in org.apache.poi.hslf.model"><span class="strong">NEXT CLASS</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/poi/hslf/model/PPGraphics2D.html" target="_top">FRAMES</a></li>
<li><a href="PPGraphics2D.html" target="_top">NO FRAMES</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>SUMMARY:&nbsp;</li>
<li>NESTED&nbsp;|&nbsp;</li>
<li><a href="#field_summary">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">METHOD</a></li>
</ul>
<ul class="subNavList">
<li>DETAIL:&nbsp;</li>
<li><a href="#field_detail">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">METHOD</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<p class="subTitle">org.apache.poi.hslf.model</p>
<h2 title="Class PPGraphics2D" class="title">Class PPGraphics2D</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>java.awt.Graphics</li>
<li>
<ul class="inheritance">
<li>java.awt.Graphics2D</li>
<li>
<ul class="inheritance">
<li>org.apache.poi.hslf.model.PPGraphics2D</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.lang.Cloneable</dd>
</dl>
<hr>
<br>
<pre>public final class <strong>PPGraphics2D</strong>
extends java.awt.Graphics2D
implements java.lang.Cloneable</pre>
<div class="block">Translates Graphics2D calls into PowerPoint.</div>
<dl><dt><span class="strong">Author:</span></dt>
  <dd>Yegor Kozlov</dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!--   -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../../org/apache/poi/util/POILogger.html" title="class in org.apache.poi.util">POILogger</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#log">log</a></strong></code>&nbsp;</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#PPGraphics2D(org.apache.poi.hslf.model.ShapeGroup)">PPGraphics2D</a></strong>(<a href="../../../../../org/apache/poi/hslf/model/ShapeGroup.html" title="class in org.apache.poi.hslf.model">ShapeGroup</a>&nbsp;group)</code>
<div class="block">Construct Java Graphics object which translates graphic calls in ppt drawing layer.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#addRenderingHints(java.util.Map)">addRenderingHints</a></strong>(java.util.Map&nbsp;hints)</code>
<div class="block">Sets the values of an arbitrary number of preferences for the
 rendering algorithms.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#applyPaint(org.apache.poi.hslf.model.SimpleShape)">applyPaint</a></strong>(<a href="../../../../../org/apache/poi/hslf/model/SimpleShape.html" title="class in org.apache.poi.hslf.model">SimpleShape</a>&nbsp;shape)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#applyStroke(org.apache.poi.hslf.model.SimpleShape)">applyStroke</a></strong>(<a href="../../../../../org/apache/poi/hslf/model/SimpleShape.html" title="class in org.apache.poi.hslf.model">SimpleShape</a>&nbsp;shape)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#clearRect(int, int, int, int)">clearRect</a></strong>(int&nbsp;x,
         int&nbsp;y,
         int&nbsp;width,
         int&nbsp;height)</code>
<div class="block">Clears the specified rectangle by filling it with the background
 color of the current drawing surface.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#clip(java.awt.Shape)">clip</a></strong>(java.awt.Shape&nbsp;s)</code>
<div class="block">Intersects the current <code>Clip</code> with the interior of the
 specified <code>Shape</code> and sets the <code>Clip</code> to the
 resulting intersection.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#clipRect(int, int, int, int)">clipRect</a></strong>(int&nbsp;x,
        int&nbsp;y,
        int&nbsp;width,
        int&nbsp;height)</code>
<div class="block">Intersects the current clip with the specified rectangle.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#copyArea(int, int, int, int, int, int)">copyArea</a></strong>(int&nbsp;x,
        int&nbsp;y,
        int&nbsp;width,
        int&nbsp;height,
        int&nbsp;dx,
        int&nbsp;dy)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.awt.Graphics</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#create()">create</a></strong>()</code>
<div class="block">Creates a new <code>Graphics</code> object that is
 a copy of this <code>Graphics</code> object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#dispose()">dispose</a></strong>()</code>
<div class="block">Disposes of this graphics context and releases
 any system resources that it is using.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#draw(java.awt.Shape)">draw</a></strong>(java.awt.Shape&nbsp;shape)</code>
<div class="block">Strokes the outline of a <code>Shape</code> using the settings of the
 current <code>Graphics2D</code> context.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawArc(int, int, int, int, int, int)">drawArc</a></strong>(int&nbsp;x,
       int&nbsp;y,
       int&nbsp;width,
       int&nbsp;height,
       int&nbsp;startAngle,
       int&nbsp;arcAngle)</code>
<div class="block">Draws the outline of a circular or elliptical arc
 covering the specified rectangle.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawGlyphVector(java.awt.font.GlyphVector, float, float)">drawGlyphVector</a></strong>(java.awt.font.GlyphVector&nbsp;g,
               float&nbsp;x,
               float&nbsp;y)</code>
<div class="block">Renders the text of the specified
 <code>GlyphVector</code> using
 the <code>Graphics2D</code> context's rendering attributes.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawImage(java.awt.image.BufferedImage, java.awt.image.BufferedImageOp, int, int)">drawImage</a></strong>(java.awt.image.BufferedImage&nbsp;img,
         java.awt.image.BufferedImageOp&nbsp;op,
         int&nbsp;x,
         int&nbsp;y)</code>
<div class="block">Renders a <code>BufferedImage</code> that is
 filtered with a
 <code>BufferedImageOp</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawImage(java.awt.Image, java.awt.geom.AffineTransform, java.awt.image.ImageObserver)">drawImage</a></strong>(java.awt.Image&nbsp;img,
         java.awt.geom.AffineTransform&nbsp;xform,
         java.awt.image.ImageObserver&nbsp;obs)</code>
<div class="block">Renders an image, applying a transform from image space into user space
 before drawing.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawImage(java.awt.Image, int, int, java.awt.Color, java.awt.image.ImageObserver)">drawImage</a></strong>(java.awt.Image&nbsp;img,
         int&nbsp;x,
         int&nbsp;y,
         java.awt.Color&nbsp;bgcolor,
         java.awt.image.ImageObserver&nbsp;observer)</code>
<div class="block">Draws as much of the specified image as is currently available.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawImage(java.awt.Image, int, int, java.awt.image.ImageObserver)">drawImage</a></strong>(java.awt.Image&nbsp;img,
         int&nbsp;x,
         int&nbsp;y,
         java.awt.image.ImageObserver&nbsp;observer)</code>
<div class="block">Draws as much of the specified image as is currently available.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawImage(java.awt.Image, int, int, int, int, java.awt.Color, java.awt.image.ImageObserver)">drawImage</a></strong>(java.awt.Image&nbsp;img,
         int&nbsp;x,
         int&nbsp;y,
         int&nbsp;width,
         int&nbsp;height,
         java.awt.Color&nbsp;bgcolor,
         java.awt.image.ImageObserver&nbsp;observer)</code>
<div class="block">Draws as much of the specified image as has already been scaled
 to fit inside the specified rectangle.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawImage(java.awt.Image, int, int, int, int, java.awt.image.ImageObserver)">drawImage</a></strong>(java.awt.Image&nbsp;img,
         int&nbsp;x,
         int&nbsp;y,
         int&nbsp;width,
         int&nbsp;height,
         java.awt.image.ImageObserver&nbsp;observer)</code>
<div class="block">Draws as much of the specified image as has already been scaled
 to fit inside the specified rectangle.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawImage(java.awt.Image, int, int, int, int, int, int, int, int, java.awt.Color, java.awt.image.ImageObserver)">drawImage</a></strong>(java.awt.Image&nbsp;img,
         int&nbsp;dx1,
         int&nbsp;dy1,
         int&nbsp;dx2,
         int&nbsp;dy2,
         int&nbsp;sx1,
         int&nbsp;sy1,
         int&nbsp;sx2,
         int&nbsp;sy2,
         java.awt.Color&nbsp;bgcolor,
         java.awt.image.ImageObserver&nbsp;observer)</code>
<div class="block">Draws as much of the specified area of the specified image as is
 currently available, scaling it on the fly to fit inside the
 specified area of the destination drawable surface.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawImage(java.awt.Image, int, int, int, int, int, int, int, int, java.awt.image.ImageObserver)">drawImage</a></strong>(java.awt.Image&nbsp;img,
         int&nbsp;dx1,
         int&nbsp;dy1,
         int&nbsp;dx2,
         int&nbsp;dy2,
         int&nbsp;sx1,
         int&nbsp;sy1,
         int&nbsp;sx2,
         int&nbsp;sy2,
         java.awt.image.ImageObserver&nbsp;observer)</code>
<div class="block">Draws as much of the specified area of the specified image as is
 currently available, scaling it on the fly to fit inside the
 specified area of the destination drawable surface.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawLine(int, int, int, int)">drawLine</a></strong>(int&nbsp;x1,
        int&nbsp;y1,
        int&nbsp;x2,
        int&nbsp;y2)</code>
<div class="block">Draws a line, using the current color, between the points
 <code>(x1,&nbsp;y1)</code> and <code>(x2,&nbsp;y2)</code>
 in this graphics context's coordinate system.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawOval(int, int, int, int)">drawOval</a></strong>(int&nbsp;x,
        int&nbsp;y,
        int&nbsp;width,
        int&nbsp;height)</code>
<div class="block">Draws the outline of an oval.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawPolygon(int[], int[], int)">drawPolygon</a></strong>(int[]&nbsp;xPoints,
           int[]&nbsp;yPoints,
           int&nbsp;nPoints)</code>
<div class="block">Draws a closed polygon defined by
 arrays of <i>x</i> and <i>y</i> coordinates.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawPolyline(int[], int[], int)">drawPolyline</a></strong>(int[]&nbsp;xPoints,
            int[]&nbsp;yPoints,
            int&nbsp;nPoints)</code>
<div class="block">Draws a sequence of connected lines defined by
 arrays of <i>x</i> and <i>y</i> coordinates.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawRect(int, int, int, int)">drawRect</a></strong>(int&nbsp;x,
        int&nbsp;y,
        int&nbsp;width,
        int&nbsp;height)</code>
<div class="block">Draws the outline of the specified rectangle.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawRenderableImage(java.awt.image.renderable.RenderableImage, java.awt.geom.AffineTransform)">drawRenderableImage</a></strong>(java.awt.image.renderable.RenderableImage&nbsp;img,
                   java.awt.geom.AffineTransform&nbsp;xform)</code>
<div class="block">Renders a <code>RenderedImage</code>,
 applying a transform from image
 space into user space before drawing.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawRenderedImage(java.awt.image.RenderedImage, java.awt.geom.AffineTransform)">drawRenderedImage</a></strong>(java.awt.image.RenderedImage&nbsp;img,
                 java.awt.geom.AffineTransform&nbsp;xform)</code>
<div class="block">Renders a
 <code>RenderableImage</code>,
 applying a transform from image space into user space before drawing.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawRoundRect(int, int, int, int, int, int)">drawRoundRect</a></strong>(int&nbsp;x,
             int&nbsp;y,
             int&nbsp;width,
             int&nbsp;height,
             int&nbsp;arcWidth,
             int&nbsp;arcHeight)</code>
<div class="block">Draws an outlined round-cornered rectangle using this graphics
 context's current color.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawString(java.text.AttributedCharacterIterator, float, float)">drawString</a></strong>(java.text.AttributedCharacterIterator&nbsp;iterator,
          float&nbsp;x,
          float&nbsp;y)</code>
<div class="block">Renders the text of the specified iterator, using the
 <code>Graphics2D</code> context's current <code>Paint</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawString(java.text.AttributedCharacterIterator, int, int)">drawString</a></strong>(java.text.AttributedCharacterIterator&nbsp;iterator,
          int&nbsp;x,
          int&nbsp;y)</code>
<div class="block">Draws the text given by the specified iterator, using this
 graphics context's current color.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawString(java.lang.String, float, float)">drawString</a></strong>(java.lang.String&nbsp;s,
          float&nbsp;x,
          float&nbsp;y)</code>
<div class="block">Renders the text specified by the specified <code>String</code>,
 using the current text attribute state in the <code>Graphics2D</code> context.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawString(java.lang.String, int, int)">drawString</a></strong>(java.lang.String&nbsp;str,
          int&nbsp;x,
          int&nbsp;y)</code>
<div class="block">Draws the text given by the specified string, using this
 graphics context's current font and color.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#fill(java.awt.Shape)">fill</a></strong>(java.awt.Shape&nbsp;shape)</code>
<div class="block">Fills the interior of a <code>Shape</code> using the settings of the
 <code>Graphics2D</code> context.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#fillArc(int, int, int, int, int, int)">fillArc</a></strong>(int&nbsp;x,
       int&nbsp;y,
       int&nbsp;width,
       int&nbsp;height,
       int&nbsp;startAngle,
       int&nbsp;arcAngle)</code>
<div class="block">Fills a circular or elliptical arc covering the specified rectangle.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#fillOval(int, int, int, int)">fillOval</a></strong>(int&nbsp;x,
        int&nbsp;y,
        int&nbsp;width,
        int&nbsp;height)</code>
<div class="block">Fills an oval bounded by the specified rectangle with the
 current color.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#fillPolygon(int[], int[], int)">fillPolygon</a></strong>(int[]&nbsp;xPoints,
           int[]&nbsp;yPoints,
           int&nbsp;nPoints)</code>
<div class="block">Fills a closed polygon defined by
 arrays of <i>x</i> and <i>y</i> coordinates.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#fillRect(int, int, int, int)">fillRect</a></strong>(int&nbsp;x,
        int&nbsp;y,
        int&nbsp;width,
        int&nbsp;height)</code>
<div class="block">Fills the specified rectangle.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#fillRoundRect(int, int, int, int, int, int)">fillRoundRect</a></strong>(int&nbsp;x,
             int&nbsp;y,
             int&nbsp;width,
             int&nbsp;height,
             int&nbsp;arcWidth,
             int&nbsp;arcHeight)</code>
<div class="block">Fills the specified rounded corner rectangle with the current color.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.awt.Color</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#getBackground()">getBackground</a></strong>()</code>
<div class="block">Returns the background color used for clearing a region.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.awt.Shape</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#getClip()">getClip</a></strong>()</code>
<div class="block">Gets the current clipping area.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.awt.Rectangle</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#getClipBounds()">getClipBounds</a></strong>()</code>
<div class="block">Returns the bounding rectangle of the current clipping area.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.awt.Color</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#getColor()">getColor</a></strong>()</code>
<div class="block">Gets this graphics context's current color.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.awt.Composite</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#getComposite()">getComposite</a></strong>()</code>
<div class="block">Returns the current <code>Composite</code> in the
 <code>Graphics2D</code> context.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.awt.GraphicsConfiguration</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#getDeviceConfiguration()">getDeviceConfiguration</a></strong>()</code>
<div class="block">Returns the device configuration associated with this
 <code>Graphics2D</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.awt.Font</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#getFont()">getFont</a></strong>()</code>
<div class="block">Gets the current font.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.awt.FontMetrics</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#getFontMetrics(java.awt.Font)">getFontMetrics</a></strong>(java.awt.Font&nbsp;f)</code>
<div class="block">Gets the font metrics for the specified font.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.awt.font.FontRenderContext</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#getFontRenderContext()">getFontRenderContext</a></strong>()</code>
<div class="block">Get the rendering context of the <code>Font</code> within this
 <code>Graphics2D</code> context.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.awt.Paint</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#getPaint()">getPaint</a></strong>()</code>
<div class="block">Returns the current <code>Paint</code> of the
 <code>Graphics2D</code> context.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#getRenderingHint(java.awt.RenderingHints.Key)">getRenderingHint</a></strong>(java.awt.RenderingHints.Key&nbsp;hintKey)</code>
<div class="block">Returns the value of a single preference for the rendering algorithms.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.awt.RenderingHints</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#getRenderingHints()">getRenderingHints</a></strong>()</code>
<div class="block">Gets the preferences for the rendering algorithms.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../../../org/apache/poi/hslf/model/ShapeGroup.html" title="class in org.apache.poi.hslf.model">ShapeGroup</a></code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#getShapeGroup()">getShapeGroup</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.awt.Stroke</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#getStroke()">getStroke</a></strong>()</code>
<div class="block">Returns the current <code>Stroke</code> in the
 <code>Graphics2D</code> context.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.awt.geom.AffineTransform</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#getTransform()">getTransform</a></strong>()</code>
<div class="block">Returns a copy of the current <code>Transform</code> in the
 <code>Graphics2D</code> context.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#hit(java.awt.Rectangle, java.awt.Shape, boolean)">hit</a></strong>(java.awt.Rectangle&nbsp;rect,
   java.awt.Shape&nbsp;s,
   boolean&nbsp;onStroke)</code>
<div class="block">Checks whether or not the specified <code>Shape</code> intersects
 the specified <code>Rectangle</code>, which is in device
 space.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#rotate(double)">rotate</a></strong>(double&nbsp;theta)</code>
<div class="block">Concatenates the current <code>Graphics2D</code>
 <code>Transform</code> with a rotation transform.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#rotate(double, double, double)">rotate</a></strong>(double&nbsp;theta,
      double&nbsp;x,
      double&nbsp;y)</code>
<div class="block">Concatenates the current <code>Graphics2D</code>
 <code>Transform</code> with a translated rotation
 transform.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#scale(double, double)">scale</a></strong>(double&nbsp;sx,
     double&nbsp;sy)</code>
<div class="block">Concatenates the current <code>Graphics2D</code>
 <code>Transform</code> with a scaling transformation
 Subsequent rendering is resized according to the specified scaling
 factors relative to the previous scaling.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setBackground(java.awt.Color)">setBackground</a></strong>(java.awt.Color&nbsp;color)</code>
<div class="block">Sets the background color for the <code>Graphics2D</code> context.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setClip(int, int, int, int)">setClip</a></strong>(int&nbsp;x,
       int&nbsp;y,
       int&nbsp;width,
       int&nbsp;height)</code>
<div class="block">Sets the current clip to the rectangle specified by the given
 coordinates.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setClip(java.awt.Shape)">setClip</a></strong>(java.awt.Shape&nbsp;clip)</code>
<div class="block">Sets the current clipping area to an arbitrary clip shape.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setColor(java.awt.Color)">setColor</a></strong>(java.awt.Color&nbsp;c)</code>
<div class="block">Sets this graphics context's current color to the specified
 color.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setComposite(java.awt.Composite)">setComposite</a></strong>(java.awt.Composite&nbsp;comp)</code>
<div class="block">Sets the <code>Composite</code> for the <code>Graphics2D</code> context.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setFont(java.awt.Font)">setFont</a></strong>(java.awt.Font&nbsp;font)</code>
<div class="block">Sets this graphics context's font to the specified font.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setPaint(java.awt.Paint)">setPaint</a></strong>(java.awt.Paint&nbsp;paint)</code>
<div class="block">Sets the <code>Paint</code> attribute for the
 <code>Graphics2D</code> context.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setPaintMode()">setPaintMode</a></strong>()</code>
<div class="block">Sets the paint mode of this graphics context to overwrite the
 destination with this graphics context's current color.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setRenderingHint(java.awt.RenderingHints.Key, java.lang.Object)">setRenderingHint</a></strong>(java.awt.RenderingHints.Key&nbsp;hintKey,
                java.lang.Object&nbsp;hintValue)</code>
<div class="block">Sets the value of a single preference for the rendering algorithms.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setRenderingHints(java.util.Map)">setRenderingHints</a></strong>(java.util.Map&nbsp;hints)</code>
<div class="block">Replaces the values of all preferences for the rendering
 algorithms with the specified <code>hints</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setStroke(java.awt.Stroke)">setStroke</a></strong>(java.awt.Stroke&nbsp;s)</code>
<div class="block">Sets the <code>Stroke</code> for the <code>Graphics2D</code> context.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setTransform(java.awt.geom.AffineTransform)">setTransform</a></strong>(java.awt.geom.AffineTransform&nbsp;Tx)</code>
<div class="block">Sets the <code>Transform</code> in the <code>Graphics2D</code>
 context.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setXORMode(java.awt.Color)">setXORMode</a></strong>(java.awt.Color&nbsp;c1)</code>
<div class="block">Sets the paint mode of this graphics context to alternate between
 this graphics context's current color and the new specified color.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#shear(double, double)">shear</a></strong>(double&nbsp;shx,
     double&nbsp;shy)</code>
<div class="block">Concatenates the current <code>Graphics2D</code>
 <code>Transform</code> with a shearing transform.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#transform(java.awt.geom.AffineTransform)">transform</a></strong>(java.awt.geom.AffineTransform&nbsp;Tx)</code>
<div class="block">Composes an <code>AffineTransform</code> object with the
 <code>Transform</code> in this <code>Graphics2D</code> according
 to the rule last-specified-first-applied.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#translate(double, double)">translate</a></strong>(double&nbsp;tx,
         double&nbsp;ty)</code>
<div class="block">Concatenates the current
 <code>Graphics2D</code> <code>Transform</code>
 with a translation transform.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#translate(int, int)">translate</a></strong>(int&nbsp;x,
         int&nbsp;y)</code>
<div class="block">Translates the origin of the graphics context to the point
 (<i>x</i>,&nbsp;<i>y</i>) in the current coordinate system.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Graphics2D">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.awt.Graphics2D</h3>
<code>draw3DRect, fill3DRect</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.awt.Graphics">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.awt.Graphics</h3>
<code>create, drawBytes, drawChars, drawPolygon, fillPolygon, finalize, getClipBounds, getClipRect, getFontMetrics, hitClip, toString</code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!--   -->
</a>
<h3>Field Detail</h3>
<a name="log">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>log</h4>
<pre>protected&nbsp;<a href="../../../../../org/apache/poi/util/POILogger.html" title="class in org.apache.poi.util">POILogger</a> log</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="PPGraphics2D(org.apache.poi.hslf.model.ShapeGroup)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>PPGraphics2D</h4>
<pre>public&nbsp;PPGraphics2D(<a href="../../../../../org/apache/poi/hslf/model/ShapeGroup.html" title="class in org.apache.poi.hslf.model">ShapeGroup</a>&nbsp;group)</pre>
<div class="block">Construct Java Graphics object which translates graphic calls in ppt drawing layer.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>group</code> - The shape group to write the graphics calls into.</dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="getShapeGroup()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getShapeGroup</h4>
<pre>public&nbsp;<a href="../../../../../org/apache/poi/hslf/model/ShapeGroup.html" title="class in org.apache.poi.hslf.model">ShapeGroup</a>&nbsp;getShapeGroup()</pre>
<dl><dt><span class="strong">Returns:</span></dt><dd>the shape group being used for drawing</dd></dl>
</li>
</ul>
<a name="getFont()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFont</h4>
<pre>public&nbsp;java.awt.Font&nbsp;getFont()</pre>
<div class="block">Gets the current font.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getFont</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>this graphics context's current font.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Font</code>, 
<code>Graphics.setFont(Font)</code></dd></dl>
</li>
</ul>
<a name="setFont(java.awt.Font)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFont</h4>
<pre>public&nbsp;void&nbsp;setFont(java.awt.Font&nbsp;font)</pre>
<div class="block">Sets this graphics context's font to the specified font.
 All subsequent text operations using this graphics context
 use this font.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setFont</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>font</code> - the font.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Graphics.getFont()</code>, 
<code>Graphics.drawString(java.lang.String, int, int)</code>, 
<code>Graphics.drawBytes(byte[], int, int, int, int)</code>, 
<code>Graphics.drawChars(char[], int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="getColor()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getColor</h4>
<pre>public&nbsp;java.awt.Color&nbsp;getColor()</pre>
<div class="block">Gets this graphics context's current color.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getColor</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>this graphics context's current color.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Color</code>, 
<code>Graphics.setColor(java.awt.Color)</code></dd></dl>
</li>
</ul>
<a name="setColor(java.awt.Color)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setColor</h4>
<pre>public&nbsp;void&nbsp;setColor(java.awt.Color&nbsp;c)</pre>
<div class="block">Sets this graphics context's current color to the specified
 color. All subsequent graphics operations using this graphics
 context use this specified color.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setColor</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>c</code> - the new rendering color.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Color</code>, 
<code>Graphics.getColor()</code></dd></dl>
</li>
</ul>
<a name="getStroke()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getStroke</h4>
<pre>public&nbsp;java.awt.Stroke&nbsp;getStroke()</pre>
<div class="block">Returns the current <code>Stroke</code> in the
 <code>Graphics2D</code> context.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getStroke</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the current <code>Graphics2D</code> <code>Stroke</code>,
                 which defines the line style.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setStroke(java.awt.Stroke)"><code>setStroke(java.awt.Stroke)</code></a></dd></dl>
</li>
</ul>
<a name="setStroke(java.awt.Stroke)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setStroke</h4>
<pre>public&nbsp;void&nbsp;setStroke(java.awt.Stroke&nbsp;s)</pre>
<div class="block">Sets the <code>Stroke</code> for the <code>Graphics2D</code> context.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setStroke</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>s</code> - the <code>Stroke</code> object to be used to stroke a
 <code>Shape</code> during the rendering process</dd></dl>
</li>
</ul>
<a name="getPaint()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPaint</h4>
<pre>public&nbsp;java.awt.Paint&nbsp;getPaint()</pre>
<div class="block">Returns the current <code>Paint</code> of the
 <code>Graphics2D</code> context.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getPaint</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the current <code>Graphics2D</code> <code>Paint</code>,
 which defines a color or pattern.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setPaint(java.awt.Paint)"><code>setPaint(java.awt.Paint)</code></a>, 
<code>Graphics.setColor(java.awt.Color)</code></dd></dl>
</li>
</ul>
<a name="setPaint(java.awt.Paint)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPaint</h4>
<pre>public&nbsp;void&nbsp;setPaint(java.awt.Paint&nbsp;paint)</pre>
<div class="block">Sets the <code>Paint</code> attribute for the
 <code>Graphics2D</code> context.  Calling this method
 with a <code>null</code> <code>Paint</code> object does
 not have any effect on the current <code>Paint</code> attribute
 of this <code>Graphics2D</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setPaint</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>paint</code> - the <code>Paint</code> object to be used to generate
 color during the rendering process, or <code>null</code></dd><dt><span class="strong">See Also:</span></dt><dd><code>Graphics.setColor(java.awt.Color)</code></dd></dl>
</li>
</ul>
<a name="getTransform()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTransform</h4>
<pre>public&nbsp;java.awt.geom.AffineTransform&nbsp;getTransform()</pre>
<div class="block">Returns a copy of the current <code>Transform</code> in the
 <code>Graphics2D</code> context.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getTransform</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the current <code>AffineTransform</code> in the
             <code>Graphics2D</code> context.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#_transform"><code>_transform</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setTransform(java.awt.geom.AffineTransform)"><code>setTransform(java.awt.geom.AffineTransform)</code></a></dd></dl>
</li>
</ul>
<a name="setTransform(java.awt.geom.AffineTransform)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setTransform</h4>
<pre>public&nbsp;void&nbsp;setTransform(java.awt.geom.AffineTransform&nbsp;Tx)</pre>
<div class="block">Sets the <code>Transform</code> in the <code>Graphics2D</code>
 context.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setTransform</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>Tx</code> - the <code>AffineTransform</code> object to be used in the
 rendering process</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#_transform"><code>_transform</code></a>, 
<code>AffineTransform</code></dd></dl>
</li>
</ul>
<a name="draw(java.awt.Shape)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>draw</h4>
<pre>public&nbsp;void&nbsp;draw(java.awt.Shape&nbsp;shape)</pre>
<div class="block">Strokes the outline of a <code>Shape</code> using the settings of the
 current <code>Graphics2D</code> context.  The rendering attributes
 applied include the <code>Clip</code>, <code>Transform</code>,
 <code>Paint</code>, <code>Composite</code> and
 <code>Stroke</code> attributes.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>draw</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>shape</code> - the <code>Shape</code> to be rendered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setStroke(java.awt.Stroke)"><code>setStroke(java.awt.Stroke)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setPaint(java.awt.Paint)"><code>setPaint(java.awt.Paint)</code></a>, 
<code>Graphics.setColor(java.awt.Color)</code>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#_transform"><code>_transform</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setTransform(java.awt.geom.AffineTransform)"><code>setTransform(java.awt.geom.AffineTransform)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#clip(java.awt.Shape)"><code>clip(java.awt.Shape)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setClip(java.awt.Shape)"><code>setClip(java.awt.Shape)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setComposite(java.awt.Composite)"><code>setComposite(java.awt.Composite)</code></a></dd></dl>
</li>
</ul>
<a name="drawString(java.lang.String, float, float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawString</h4>
<pre>public&nbsp;void&nbsp;drawString(java.lang.String&nbsp;s,
              float&nbsp;x,
              float&nbsp;y)</pre>
<div class="block">Renders the text specified by the specified <code>String</code>,
 using the current text attribute state in the <code>Graphics2D</code> context.
 The baseline of the first character is at position
 (<i>x</i>,&nbsp;<i>y</i>) in the User Space.
 The rendering attributes applied include the <code>Clip</code>,
 <code>Transform</code>, <code>Paint</code>, <code>Font</code> and
 <code>Composite</code> attributes. For characters in script systems
 such as Hebrew and Arabic, the glyphs can be rendered from right to
 left, in which case the coordinate supplied is the location of the
 leftmost character on the baseline.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawString</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>s</code> - the <code>String</code> to be rendered</dd><dd><code>x</code> - the x coordinate of the location where the
 <code>String</code> should be rendered</dd><dd><code>y</code> - the y coordinate of the location where the
 <code>String</code> should be rendered</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.NullPointerException</code> - if <code>str</code> is
         <code>null</code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setPaint(java.awt.Paint)"><code>setPaint(java.awt.Paint)</code></a>, 
<code>Graphics.setColor(java.awt.Color)</code>, 
<code>Graphics.setFont(java.awt.Font)</code>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setTransform(java.awt.geom.AffineTransform)"><code>setTransform(java.awt.geom.AffineTransform)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setComposite(java.awt.Composite)"><code>setComposite(java.awt.Composite)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setClip(java.awt.Shape)"><code>setClip(java.awt.Shape)</code></a></dd></dl>
</li>
</ul>
<a name="fill(java.awt.Shape)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fill</h4>
<pre>public&nbsp;void&nbsp;fill(java.awt.Shape&nbsp;shape)</pre>
<div class="block">Fills the interior of a <code>Shape</code> using the settings of the
 <code>Graphics2D</code> context. The rendering attributes applied
 include the <code>Clip</code>, <code>Transform</code>,
 <code>Paint</code>, and <code>Composite</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>fill</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>shape</code> - the <code>Shape</code> to be filled</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setPaint(java.awt.Paint)"><code>setPaint(java.awt.Paint)</code></a>, 
<code>Graphics.setColor(java.awt.Color)</code>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#_transform"><code>_transform</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setTransform(java.awt.geom.AffineTransform)"><code>setTransform(java.awt.geom.AffineTransform)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setComposite(java.awt.Composite)"><code>setComposite(java.awt.Composite)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#clip(java.awt.Shape)"><code>clip(java.awt.Shape)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setClip(java.awt.Shape)"><code>setClip(java.awt.Shape)</code></a></dd></dl>
</li>
</ul>
<a name="translate(int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>translate</h4>
<pre>public&nbsp;void&nbsp;translate(int&nbsp;x,
             int&nbsp;y)</pre>
<div class="block">Translates the origin of the graphics context to the point
 (<i>x</i>,&nbsp;<i>y</i>) in the current coordinate system.
 Modifies this graphics context so that its new origin corresponds
 to the point (<i>x</i>,&nbsp;<i>y</i>) in this graphics context's
 original coordinate system.  All coordinates used in subsequent
 rendering operations on this graphics context will be relative
 to this new origin.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>translate</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the <i>x</i> coordinate.</dd><dd><code>y</code> - the <i>y</i> coordinate.</dd></dl>
</li>
</ul>
<a name="clip(java.awt.Shape)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clip</h4>
<pre>public&nbsp;void&nbsp;clip(java.awt.Shape&nbsp;s)</pre>
<div class="block">Intersects the current <code>Clip</code> with the interior of the
 specified <code>Shape</code> and sets the <code>Clip</code> to the
 resulting intersection.  The specified <code>Shape</code> is
 transformed with the current <code>Graphics2D</code>
 <code>Transform</code> before being intersected with the current
 <code>Clip</code>.  This method is used to make the current
 <code>Clip</code> smaller.
 To make the <code>Clip</code> larger, use <code>setClip</code>.
 The <i>user clip</i> modified by this method is independent of the
 clipping associated with device bounds and visibility.  If no clip has
 previously been set, or if the clip has been cleared using
 <code>setClip</code> with a
 <code>null</code> argument, the specified <code>Shape</code> becomes
 the new user clip.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>clip</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>s</code> - the <code>Shape</code> to be intersected with the current
          <code>Clip</code>.  If <code>s</code> is <code>null</code>,
          this method clears the current <code>Clip</code>.</dd></dl>
</li>
</ul>
<a name="getClip()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClip</h4>
<pre>public&nbsp;java.awt.Shape&nbsp;getClip()</pre>
<div class="block">Gets the current clipping area.
 This method returns the user clip, which is independent of the
 clipping associated with device bounds and window visibility.
 If no clip has previously been set, or if the clip has been
 cleared using <code>setClip(null)</code>, this method returns
 <code>null</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getClip</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a <code>Shape</code> object representing the
              current clipping area, or <code>null</code> if
              no clip is set.</dd><dt><span class="strong">Since:</span></dt>
  <dd>JDK1.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><code>Graphics.getClipBounds()</code>, 
<code>Graphics.clipRect(int, int, int, int)</code>, 
<code>Graphics.setClip(int, int, int, int)</code>, 
<code>Graphics.setClip(Shape)</code></dd></dl>
</li>
</ul>
<a name="scale(double, double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>scale</h4>
<pre>public&nbsp;void&nbsp;scale(double&nbsp;sx,
         double&nbsp;sy)</pre>
<div class="block">Concatenates the current <code>Graphics2D</code>
 <code>Transform</code> with a scaling transformation
 Subsequent rendering is resized according to the specified scaling
 factors relative to the previous scaling.
 This is equivalent to calling <code>transform(S)</code>, where S is an
 <code>AffineTransform</code> represented by the following matrix:
 <pre>
          [   sx   0    0   ]
          [   0    sy   0   ]
          [   0    0    1   ]
 </pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>scale</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>sx</code> - the amount by which X coordinates in subsequent
 rendering operations are multiplied relative to previous
 rendering operations.</dd><dd><code>sy</code> - the amount by which Y coordinates in subsequent
 rendering operations are multiplied relative to previous
 rendering operations.</dd></dl>
</li>
</ul>
<a name="drawRoundRect(int, int, int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawRoundRect</h4>
<pre>public&nbsp;void&nbsp;drawRoundRect(int&nbsp;x,
                 int&nbsp;y,
                 int&nbsp;width,
                 int&nbsp;height,
                 int&nbsp;arcWidth,
                 int&nbsp;arcHeight)</pre>
<div class="block">Draws an outlined round-cornered rectangle using this graphics
 context's current color. The left and right edges of the rectangle
 are at <code>x</code> and <code>x&nbsp;+&nbsp;width</code>,
 respectively. The top and bottom edges of the rectangle are at
 <code>y</code> and <code>y&nbsp;+&nbsp;height</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawRoundRect</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the <i>x</i> coordinate of the rectangle to be drawn.</dd><dd><code>y</code> - the <i>y</i> coordinate of the rectangle to be drawn.</dd><dd><code>width</code> - the width of the rectangle to be drawn.</dd><dd><code>height</code> - the height of the rectangle to be drawn.</dd><dd><code>arcWidth</code> - the horizontal diameter of the arc
                    at the four corners.</dd><dd><code>arcHeight</code> - the vertical diameter of the arc
                    at the four corners.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Graphics.fillRoundRect(int, int, int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="drawString(java.lang.String, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawString</h4>
<pre>public&nbsp;void&nbsp;drawString(java.lang.String&nbsp;str,
              int&nbsp;x,
              int&nbsp;y)</pre>
<div class="block">Draws the text given by the specified string, using this
 graphics context's current font and color. The baseline of the
 first character is at position (<i>x</i>,&nbsp;<i>y</i>) in this
 graphics context's coordinate system.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawString</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>str</code> - the string to be drawn.</dd><dd><code>x</code> - the <i>x</i> coordinate.</dd><dd><code>y</code> - the <i>y</i> coordinate.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Graphics.drawBytes(byte[], int, int, int, int)</code>, 
<code>Graphics.drawChars(char[], int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="fillOval(int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fillOval</h4>
<pre>public&nbsp;void&nbsp;fillOval(int&nbsp;x,
            int&nbsp;y,
            int&nbsp;width,
            int&nbsp;height)</pre>
<div class="block">Fills an oval bounded by the specified rectangle with the
 current color.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>fillOval</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the <i>x</i> coordinate of the upper left corner
                     of the oval to be filled.</dd><dd><code>y</code> - the <i>y</i> coordinate of the upper left corner
                     of the oval to be filled.</dd><dd><code>width</code> - the width of the oval to be filled.</dd><dd><code>height</code> - the height of the oval to be filled.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Graphics.drawOval(int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="fillRoundRect(int, int, int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fillRoundRect</h4>
<pre>public&nbsp;void&nbsp;fillRoundRect(int&nbsp;x,
                 int&nbsp;y,
                 int&nbsp;width,
                 int&nbsp;height,
                 int&nbsp;arcWidth,
                 int&nbsp;arcHeight)</pre>
<div class="block">Fills the specified rounded corner rectangle with the current color.
 The left and right edges of the rectangle
 are at <code>x</code> and <code>x&nbsp;+&nbsp;width&nbsp;-&nbsp;1</code>,
 respectively. The top and bottom edges of the rectangle are at
 <code>y</code> and <code>y&nbsp;+&nbsp;height&nbsp;-&nbsp;1</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>fillRoundRect</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the <i>x</i> coordinate of the rectangle to be filled.</dd><dd><code>y</code> - the <i>y</i> coordinate of the rectangle to be filled.</dd><dd><code>width</code> - the width of the rectangle to be filled.</dd><dd><code>height</code> - the height of the rectangle to be filled.</dd><dd><code>arcWidth</code> - the horizontal diameter
                     of the arc at the four corners.</dd><dd><code>arcHeight</code> - the vertical diameter
                     of the arc at the four corners.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Graphics.drawRoundRect(int, int, int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="fillArc(int, int, int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fillArc</h4>
<pre>public&nbsp;void&nbsp;fillArc(int&nbsp;x,
           int&nbsp;y,
           int&nbsp;width,
           int&nbsp;height,
           int&nbsp;startAngle,
           int&nbsp;arcAngle)</pre>
<div class="block">Fills a circular or elliptical arc covering the specified rectangle.
 <p>
 The resulting arc begins at <code>startAngle</code> and extends
 for <code>arcAngle</code> degrees.
 Angles are interpreted such that 0&nbsp;degrees
 is at the 3&nbsp;o'clock position.
 A positive value indicates a counter-clockwise rotation
 while a negative value indicates a clockwise rotation.
 <p>
 The center of the arc is the center of the rectangle whose origin
 is (<i>x</i>,&nbsp;<i>y</i>) and whose size is specified by the
 <code>width</code> and <code>height</code> arguments.
 <p>
 The resulting arc covers an area
 <code>width&nbsp;+&nbsp;1</code> pixels wide
 by <code>height&nbsp;+&nbsp;1</code> pixels tall.
 <p>
 The angles are specified relative to the non-square extents of
 the bounding rectangle such that 45 degrees always falls on the
 line from the center of the ellipse to the upper right corner of
 the bounding rectangle. As a result, if the bounding rectangle is
 noticeably longer in one axis than the other, the angles to the
 start and end of the arc segment will be skewed farther along the
 longer axis of the bounds.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>fillArc</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the <i>x</i> coordinate of the
                    upper-left corner of the arc to be filled.</dd><dd><code>y</code> - the <i>y</i>  coordinate of the
                    upper-left corner of the arc to be filled.</dd><dd><code>width</code> - the width of the arc to be filled.</dd><dd><code>height</code> - the height of the arc to be filled.</dd><dd><code>startAngle</code> - the beginning angle.</dd><dd><code>arcAngle</code> - the angular extent of the arc,
                    relative to the start angle.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Graphics.drawArc(int, int, int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="drawArc(int, int, int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawArc</h4>
<pre>public&nbsp;void&nbsp;drawArc(int&nbsp;x,
           int&nbsp;y,
           int&nbsp;width,
           int&nbsp;height,
           int&nbsp;startAngle,
           int&nbsp;arcAngle)</pre>
<div class="block">Draws the outline of a circular or elliptical arc
 covering the specified rectangle.
 <p>
 The resulting arc begins at <code>startAngle</code> and extends
 for <code>arcAngle</code> degrees, using the current color.
 Angles are interpreted such that 0&nbsp;degrees
 is at the 3&nbsp;o'clock position.
 A positive value indicates a counter-clockwise rotation
 while a negative value indicates a clockwise rotation.
 <p>
 The center of the arc is the center of the rectangle whose origin
 is (<i>x</i>,&nbsp;<i>y</i>) and whose size is specified by the
 <code>width</code> and <code>height</code> arguments.
 <p>
 The resulting arc covers an area
 <code>width&nbsp;+&nbsp;1</code> pixels wide
 by <code>height&nbsp;+&nbsp;1</code> pixels tall.
 <p>
 The angles are specified relative to the non-square extents of
 the bounding rectangle such that 45 degrees always falls on the
 line from the center of the ellipse to the upper right corner of
 the bounding rectangle. As a result, if the bounding rectangle is
 noticeably longer in one axis than the other, the angles to the
 start and end of the arc segment will be skewed farther along the
 longer axis of the bounds.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawArc</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the <i>x</i> coordinate of the
                    upper-left corner of the arc to be drawn.</dd><dd><code>y</code> - the <i>y</i>  coordinate of the
                    upper-left corner of the arc to be drawn.</dd><dd><code>width</code> - the width of the arc to be drawn.</dd><dd><code>height</code> - the height of the arc to be drawn.</dd><dd><code>startAngle</code> - the beginning angle.</dd><dd><code>arcAngle</code> - the angular extent of the arc,
                    relative to the start angle.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Graphics.fillArc(int, int, int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="drawPolyline(int[], int[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawPolyline</h4>
<pre>public&nbsp;void&nbsp;drawPolyline(int[]&nbsp;xPoints,
                int[]&nbsp;yPoints,
                int&nbsp;nPoints)</pre>
<div class="block">Draws a sequence of connected lines defined by
 arrays of <i>x</i> and <i>y</i> coordinates.
 Each pair of (<i>x</i>,&nbsp;<i>y</i>) coordinates defines a point.
 The figure is not closed if the first point
 differs from the last point.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawPolyline</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>xPoints</code> - an array of <i>x</i> points</dd><dd><code>yPoints</code> - an array of <i>y</i> points</dd><dd><code>nPoints</code> - the total number of points</dd><dt><span class="strong">Since:</span></dt>
  <dd>JDK1.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><code>Graphics.drawPolygon(int[], int[], int)</code></dd></dl>
</li>
</ul>
<a name="drawOval(int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawOval</h4>
<pre>public&nbsp;void&nbsp;drawOval(int&nbsp;x,
            int&nbsp;y,
            int&nbsp;width,
            int&nbsp;height)</pre>
<div class="block">Draws the outline of an oval.
 The result is a circle or ellipse that fits within the
 rectangle specified by the <code>x</code>, <code>y</code>,
 <code>width</code>, and <code>height</code> arguments.
 <p>
 The oval covers an area that is
 <code>width&nbsp;+&nbsp;1</code> pixels wide
 and <code>height&nbsp;+&nbsp;1</code> pixels tall.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawOval</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the <i>x</i> coordinate of the upper left
                     corner of the oval to be drawn.</dd><dd><code>y</code> - the <i>y</i> coordinate of the upper left
                     corner of the oval to be drawn.</dd><dd><code>width</code> - the width of the oval to be drawn.</dd><dd><code>height</code> - the height of the oval to be drawn.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Graphics.fillOval(int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="drawImage(java.awt.Image, int, int, java.awt.Color, java.awt.image.ImageObserver)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawImage</h4>
<pre>public&nbsp;boolean&nbsp;drawImage(java.awt.Image&nbsp;img,
                int&nbsp;x,
                int&nbsp;y,
                java.awt.Color&nbsp;bgcolor,
                java.awt.image.ImageObserver&nbsp;observer)</pre>
<div class="block">Draws as much of the specified image as is currently available.
 The image is drawn with its top-left corner at
 (<i>x</i>,&nbsp;<i>y</i>) in this graphics context's coordinate
 space.  Transparent pixels are drawn in the specified
 background color.
 <p>
 This operation is equivalent to filling a rectangle of the
 width and height of the specified image with the given color and then
 drawing the image on top of it, but possibly more efficient.
 <p>
 This method returns immediately in all cases, even if the
 complete image has not yet been loaded, and it has not been dithered
 and converted for the current output device.
 <p>
 If the image has not yet been completely loaded, then
 <code>drawImage</code> returns <code>false</code>. As more of
 the image becomes available, the process that draws the image notifies
 the specified image observer.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>img</code> - the specified image to be drawn.</dd><dd><code>x</code> - the <i>x</i> coordinate.</dd><dd><code>y</code> - the <i>y</i> coordinate.</dd><dd><code>bgcolor</code> - the background color to paint under the
                         non-opaque portions of the image.</dd><dd><code>observer</code> - object to be notified as more of
                          the image is converted.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Image</code>, 
<code>ImageObserver</code>, 
<code>ImageObserver.imageUpdate(java.awt.Image, int, int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="drawImage(java.awt.Image, int, int, int, int, java.awt.Color, java.awt.image.ImageObserver)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawImage</h4>
<pre>public&nbsp;boolean&nbsp;drawImage(java.awt.Image&nbsp;img,
                int&nbsp;x,
                int&nbsp;y,
                int&nbsp;width,
                int&nbsp;height,
                java.awt.Color&nbsp;bgcolor,
                java.awt.image.ImageObserver&nbsp;observer)</pre>
<div class="block">Draws as much of the specified image as has already been scaled
 to fit inside the specified rectangle.
 <p>
 The image is drawn inside the specified rectangle of this
 graphics context's coordinate space, and is scaled if
 necessary. Transparent pixels are drawn in the specified
 background color.
 This operation is equivalent to filling a rectangle of the
 width and height of the specified image with the given color and then
 drawing the image on top of it, but possibly more efficient.
 <p>
 This method returns immediately in all cases, even if the
 entire image has not yet been scaled, dithered, and converted
 for the current output device.
 If the current output representation is not yet complete then
 <code>drawImage</code> returns <code>false</code>. As more of
 the image becomes available, the process that draws the image notifies
 the specified image observer.
 <p>
 A scaled version of an image will not necessarily be
 available immediately just because an unscaled version of the
 image has been constructed for this output device.  Each size of
 the image may be cached separately and generated from the original
 data in a separate image production sequence.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>img</code> - the specified image to be drawn.</dd><dd><code>x</code> - the <i>x</i> coordinate.</dd><dd><code>y</code> - the <i>y</i> coordinate.</dd><dd><code>width</code> - the width of the rectangle.</dd><dd><code>height</code> - the height of the rectangle.</dd><dd><code>bgcolor</code> - the background color to paint under the
                         non-opaque portions of the image.</dd><dd><code>observer</code> - object to be notified as more of
                          the image is converted.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Image</code>, 
<code>ImageObserver</code>, 
<code>ImageObserver.imageUpdate(java.awt.Image, int, int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="drawImage(java.awt.Image, int, int, int, int, int, int, int, int, java.awt.image.ImageObserver)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawImage</h4>
<pre>public&nbsp;boolean&nbsp;drawImage(java.awt.Image&nbsp;img,
                int&nbsp;dx1,
                int&nbsp;dy1,
                int&nbsp;dx2,
                int&nbsp;dy2,
                int&nbsp;sx1,
                int&nbsp;sy1,
                int&nbsp;sx2,
                int&nbsp;sy2,
                java.awt.image.ImageObserver&nbsp;observer)</pre>
<div class="block">Draws as much of the specified area of the specified image as is
 currently available, scaling it on the fly to fit inside the
 specified area of the destination drawable surface. Transparent pixels
 do not affect whatever pixels are already there.
 <p>
 This method returns immediately in all cases, even if the
 image area to be drawn has not yet been scaled, dithered, and converted
 for the current output device.
 If the current output representation is not yet complete then
 <code>drawImage</code> returns <code>false</code>. As more of
 the image becomes available, the process that draws the image notifies
 the specified image observer.
 <p>
 This method always uses the unscaled version of the image
 to render the scaled rectangle and performs the required
 scaling on the fly. It does not use a cached, scaled version
 of the image for this operation. Scaling of the image from source
 to destination is performed such that the first coordinate
 of the source rectangle is mapped to the first coordinate of
 the destination rectangle, and the second source coordinate is
 mapped to the second destination coordinate. The subimage is
 scaled and flipped as needed to preserve those mappings.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>img</code> - the specified image to be drawn</dd><dd><code>dx1</code> - the <i>x</i> coordinate of the first corner of the
                    destination rectangle.</dd><dd><code>dy1</code> - the <i>y</i> coordinate of the first corner of the
                    destination rectangle.</dd><dd><code>dx2</code> - the <i>x</i> coordinate of the second corner of the
                    destination rectangle.</dd><dd><code>dy2</code> - the <i>y</i> coordinate of the second corner of the
                    destination rectangle.</dd><dd><code>sx1</code> - the <i>x</i> coordinate of the first corner of the
                    source rectangle.</dd><dd><code>sy1</code> - the <i>y</i> coordinate of the first corner of the
                    source rectangle.</dd><dd><code>sx2</code> - the <i>x</i> coordinate of the second corner of the
                    source rectangle.</dd><dd><code>sy2</code> - the <i>y</i> coordinate of the second corner of the
                    source rectangle.</dd><dd><code>observer</code> - object to be notified as more of the image is
                    scaled and converted.</dd><dt><span class="strong">Since:</span></dt>
  <dd>JDK1.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><code>Image</code>, 
<code>ImageObserver</code>, 
<code>ImageObserver.imageUpdate(java.awt.Image, int, int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="drawImage(java.awt.Image, int, int, int, int, int, int, int, int, java.awt.Color, java.awt.image.ImageObserver)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawImage</h4>
<pre>public&nbsp;boolean&nbsp;drawImage(java.awt.Image&nbsp;img,
                int&nbsp;dx1,
                int&nbsp;dy1,
                int&nbsp;dx2,
                int&nbsp;dy2,
                int&nbsp;sx1,
                int&nbsp;sy1,
                int&nbsp;sx2,
                int&nbsp;sy2,
                java.awt.Color&nbsp;bgcolor,
                java.awt.image.ImageObserver&nbsp;observer)</pre>
<div class="block">Draws as much of the specified area of the specified image as is
 currently available, scaling it on the fly to fit inside the
 specified area of the destination drawable surface.
 <p>
 Transparent pixels are drawn in the specified background color.
 This operation is equivalent to filling a rectangle of the
 width and height of the specified image with the given color and then
 drawing the image on top of it, but possibly more efficient.
 <p>
 This method returns immediately in all cases, even if the
 image area to be drawn has not yet been scaled, dithered, and converted
 for the current output device.
 If the current output representation is not yet complete then
 <code>drawImage</code> returns <code>false</code>. As more of
 the image becomes available, the process that draws the image notifies
 the specified image observer.
 <p>
 This method always uses the unscaled version of the image
 to render the scaled rectangle and performs the required
 scaling on the fly. It does not use a cached, scaled version
 of the image for this operation. Scaling of the image from source
 to destination is performed such that the first coordinate
 of the source rectangle is mapped to the first coordinate of
 the destination rectangle, and the second source coordinate is
 mapped to the second destination coordinate. The subimage is
 scaled and flipped as needed to preserve those mappings.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>img</code> - the specified image to be drawn</dd><dd><code>dx1</code> - the <i>x</i> coordinate of the first corner of the
                    destination rectangle.</dd><dd><code>dy1</code> - the <i>y</i> coordinate of the first corner of the
                    destination rectangle.</dd><dd><code>dx2</code> - the <i>x</i> coordinate of the second corner of the
                    destination rectangle.</dd><dd><code>dy2</code> - the <i>y</i> coordinate of the second corner of the
                    destination rectangle.</dd><dd><code>sx1</code> - the <i>x</i> coordinate of the first corner of the
                    source rectangle.</dd><dd><code>sy1</code> - the <i>y</i> coordinate of the first corner of the
                    source rectangle.</dd><dd><code>sx2</code> - the <i>x</i> coordinate of the second corner of the
                    source rectangle.</dd><dd><code>sy2</code> - the <i>y</i> coordinate of the second corner of the
                    source rectangle.</dd><dd><code>bgcolor</code> - the background color to paint under the
                    non-opaque portions of the image.</dd><dd><code>observer</code> - object to be notified as more of the image is
                    scaled and converted.</dd><dt><span class="strong">Since:</span></dt>
  <dd>JDK1.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><code>Image</code>, 
<code>ImageObserver</code>, 
<code>ImageObserver.imageUpdate(java.awt.Image, int, int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="drawImage(java.awt.Image, int, int, java.awt.image.ImageObserver)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawImage</h4>
<pre>public&nbsp;boolean&nbsp;drawImage(java.awt.Image&nbsp;img,
                int&nbsp;x,
                int&nbsp;y,
                java.awt.image.ImageObserver&nbsp;observer)</pre>
<div class="block">Draws as much of the specified image as is currently available.
 The image is drawn with its top-left corner at
 (<i>x</i>,&nbsp;<i>y</i>) in this graphics context's coordinate
 space. Transparent pixels in the image do not affect whatever
 pixels are already there.
 <p>
 This method returns immediately in all cases, even if the
 complete image has not yet been loaded, and it has not been dithered
 and converted for the current output device.
 <p>
 If the image has completely loaded and its pixels are
 no longer being changed, then
 <code>drawImage</code> returns <code>true</code>.
 Otherwise, <code>drawImage</code> returns <code>false</code>
 and as more of
 the image becomes available
 or it is time to draw another frame of animation,
 the process that loads the image notifies
 the specified image observer.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>img</code> - the specified image to be drawn. This method does
               nothing if <code>img</code> is null.</dd><dd><code>x</code> - the <i>x</i> coordinate.</dd><dd><code>y</code> - the <i>y</i> coordinate.</dd><dd><code>observer</code> - object to be notified as more of
                          the image is converted.</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>false</code> if the image pixels are still changing;
           <code>true</code> otherwise.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Image</code>, 
<code>ImageObserver</code>, 
<code>ImageObserver.imageUpdate(java.awt.Image, int, int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="dispose()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>dispose</h4>
<pre>public&nbsp;void&nbsp;dispose()</pre>
<div class="block">Disposes of this graphics context and releases
 any system resources that it is using.
 A <code>Graphics</code> object cannot be used after
 <code>dispose</code>has been called.
 <p>
 When a Java program runs, a large number of <code>Graphics</code>
 objects can be created within a short time frame.
 Although the finalization process of the garbage collector
 also disposes of the same system resources, it is preferable
 to manually free the associated resources by calling this
 method rather than to rely on a finalization process which
 may not run to completion for a long period of time.
 <p>
 Graphics objects which are provided as arguments to the
 <code>paint</code> and <code>update</code> methods
 of components are automatically released by the system when
 those methods return. For efficiency, programmers should
 call <code>dispose</code> when finished using
 a <code>Graphics</code> object only if it was created
 directly from a component or another <code>Graphics</code> object.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>dispose</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">See Also:</span></dt><dd><code>Graphics.finalize()</code>, 
<code>Component.paint(java.awt.Graphics)</code>, 
<code>Component.update(java.awt.Graphics)</code>, 
<code>Component.getGraphics()</code>, 
<code>Graphics.create()</code></dd></dl>
</li>
</ul>
<a name="drawLine(int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawLine</h4>
<pre>public&nbsp;void&nbsp;drawLine(int&nbsp;x1,
            int&nbsp;y1,
            int&nbsp;x2,
            int&nbsp;y2)</pre>
<div class="block">Draws a line, using the current color, between the points
 <code>(x1,&nbsp;y1)</code> and <code>(x2,&nbsp;y2)</code>
 in this graphics context's coordinate system.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawLine</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>x1</code> - the first point's <i>x</i> coordinate.</dd><dd><code>y1</code> - the first point's <i>y</i> coordinate.</dd><dd><code>x2</code> - the second point's <i>x</i> coordinate.</dd><dd><code>y2</code> - the second point's <i>y</i> coordinate.</dd></dl>
</li>
</ul>
<a name="fillPolygon(int[], int[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fillPolygon</h4>
<pre>public&nbsp;void&nbsp;fillPolygon(int[]&nbsp;xPoints,
               int[]&nbsp;yPoints,
               int&nbsp;nPoints)</pre>
<div class="block">Fills a closed polygon defined by
 arrays of <i>x</i> and <i>y</i> coordinates.
 <p>
 This method draws the polygon defined by <code>nPoint</code> line
 segments, where the first <code>nPoint&nbsp;-&nbsp;1</code>
 line segments are line segments from
 <code>(xPoints[i&nbsp;-&nbsp;1],&nbsp;yPoints[i&nbsp;-&nbsp;1])</code>
 to <code>(xPoints[i],&nbsp;yPoints[i])</code>, for
 1&nbsp;&le;&nbsp;<i>i</i>&nbsp;&le;&nbsp;<code>nPoints</code>.
 The figure is automatically closed by drawing a line connecting
 the final point to the first point, if those points are different.
 <p>
 The area inside the polygon is defined using an
 even-odd fill rule, also known as the alternating rule.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>fillPolygon</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>xPoints</code> - a an array of <code>x</code> coordinates.</dd><dd><code>yPoints</code> - a an array of <code>y</code> coordinates.</dd><dd><code>nPoints</code> - a the total number of points.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Graphics.drawPolygon(int[], int[], int)</code></dd></dl>
</li>
</ul>
<a name="fillRect(int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fillRect</h4>
<pre>public&nbsp;void&nbsp;fillRect(int&nbsp;x,
            int&nbsp;y,
            int&nbsp;width,
            int&nbsp;height)</pre>
<div class="block">Fills the specified rectangle.
 The left and right edges of the rectangle are at
 <code>x</code> and <code>x&nbsp;+&nbsp;width&nbsp;-&nbsp;1</code>.
 The top and bottom edges are at
 <code>y</code> and <code>y&nbsp;+&nbsp;height&nbsp;-&nbsp;1</code>.
 The resulting rectangle covers an area
 <code>width</code> pixels wide by
 <code>height</code> pixels tall.
 The rectangle is filled using the graphics context's current color.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>fillRect</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the <i>x</i> coordinate
                         of the rectangle to be filled.</dd><dd><code>y</code> - the <i>y</i> coordinate
                         of the rectangle to be filled.</dd><dd><code>width</code> - the width of the rectangle to be filled.</dd><dd><code>height</code> - the height of the rectangle to be filled.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Graphics.clearRect(int, int, int, int)</code>, 
<code>Graphics.drawRect(int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="drawRect(int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawRect</h4>
<pre>public&nbsp;void&nbsp;drawRect(int&nbsp;x,
            int&nbsp;y,
            int&nbsp;width,
            int&nbsp;height)</pre>
<div class="block">Draws the outline of the specified rectangle.
 The left and right edges of the rectangle are at
 <code>x</code> and <code>x&nbsp;+&nbsp;width</code>.
 The top and bottom edges are at
 <code>y</code> and <code>y&nbsp;+&nbsp;height</code>.
 The rectangle is drawn using the graphics context's current color.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>drawRect</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the <i>x</i> coordinate
                         of the rectangle to be drawn.</dd><dd><code>y</code> - the <i>y</i> coordinate
                         of the rectangle to be drawn.</dd><dd><code>width</code> - the width of the rectangle to be drawn.</dd><dd><code>height</code> - the height of the rectangle to be drawn.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Graphics.fillRect(int, int, int, int)</code>, 
<code>Graphics.clearRect(int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="drawPolygon(int[], int[], int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawPolygon</h4>
<pre>public&nbsp;void&nbsp;drawPolygon(int[]&nbsp;xPoints,
               int[]&nbsp;yPoints,
               int&nbsp;nPoints)</pre>
<div class="block">Draws a closed polygon defined by
 arrays of <i>x</i> and <i>y</i> coordinates.
 Each pair of (<i>x</i>,&nbsp;<i>y</i>) coordinates defines a point.
 <p>
 This method draws the polygon defined by <code>nPoint</code> line
 segments, where the first <code>nPoint&nbsp;-&nbsp;1</code>
 line segments are line segments from
 <code>(xPoints[i&nbsp;-&nbsp;1],&nbsp;yPoints[i&nbsp;-&nbsp;1])</code>
 to <code>(xPoints[i],&nbsp;yPoints[i])</code>, for
 1&nbsp;&le;&nbsp;<i>i</i>&nbsp;&le;&nbsp;<code>nPoints</code>.
 The figure is automatically closed by drawing a line connecting
 the final point to the first point, if those points are different.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawPolygon</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>xPoints</code> - a an array of <code>x</code> coordinates.</dd><dd><code>yPoints</code> - a an array of <code>y</code> coordinates.</dd><dd><code>nPoints</code> - a the total number of points.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Graphics.fillPolygon(int[],int[],int)</code>, 
<code>Graphics.drawPolyline(int[], int[], int)</code></dd></dl>
</li>
</ul>
<a name="clipRect(int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clipRect</h4>
<pre>public&nbsp;void&nbsp;clipRect(int&nbsp;x,
            int&nbsp;y,
            int&nbsp;width,
            int&nbsp;height)</pre>
<div class="block">Intersects the current clip with the specified rectangle.
 The resulting clipping area is the intersection of the current
 clipping area and the specified rectangle.  If there is no
 current clipping area, either because the clip has never been
 set, or the clip has been cleared using <code>setClip(null)</code>,
 the specified rectangle becomes the new clip.
 This method sets the user clip, which is independent of the
 clipping associated with device bounds and window visibility.
 This method can only be used to make the current clip smaller.
 To set the current clip larger, use any of the setClip methods.
 Rendering operations have no effect outside of the clipping area.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>clipRect</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the x coordinate of the rectangle to intersect the clip with</dd><dd><code>y</code> - the y coordinate of the rectangle to intersect the clip with</dd><dd><code>width</code> - the width of the rectangle to intersect the clip with</dd><dd><code>height</code> - the height of the rectangle to intersect the clip with</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setClip(int, int, int, int)"><code>setClip(int, int, int, int)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setClip(java.awt.Shape)"><code>setClip(Shape)</code></a></dd></dl>
</li>
</ul>
<a name="setClip(java.awt.Shape)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setClip</h4>
<pre>public&nbsp;void&nbsp;setClip(java.awt.Shape&nbsp;clip)</pre>
<div class="block">Sets the current clipping area to an arbitrary clip shape.
 Not all objects that implement the <code>Shape</code>
 interface can be used to set the clip.  The only
 <code>Shape</code> objects that are guaranteed to be
 supported are <code>Shape</code> objects that are
 obtained via the <code>getClip</code> method and via
 <code>Rectangle</code> objects.  This method sets the
 user clip, which is independent of the clipping associated
 with device bounds and window visibility.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setClip</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>clip</code> - the <code>Shape</code> to use to set the clip</dd><dt><span class="strong">Since:</span></dt>
  <dd>JDK1.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><code>Graphics.getClip()</code>, 
<code>Graphics.clipRect(int, int, int, int)</code>, 
<code>Graphics.setClip(int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="getClipBounds()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getClipBounds</h4>
<pre>public&nbsp;java.awt.Rectangle&nbsp;getClipBounds()</pre>
<div class="block">Returns the bounding rectangle of the current clipping area.
 This method refers to the user clip, which is independent of the
 clipping associated with device bounds and window visibility.
 If no clip has previously been set, or if the clip has been
 cleared using <code>setClip(null)</code>, this method returns
 <code>null</code>.
 The coordinates in the rectangle are relative to the coordinate
 system origin of this graphics context.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getClipBounds</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the bounding rectangle of the current clipping area,
              or <code>null</code> if no clip is set.</dd><dt><span class="strong">Since:</span></dt>
  <dd>JDK1.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><code>Graphics.getClip()</code>, 
<code>Graphics.clipRect(int, int, int, int)</code>, 
<code>Graphics.setClip(int, int, int, int)</code>, 
<code>Graphics.setClip(Shape)</code></dd></dl>
</li>
</ul>
<a name="drawString(java.text.AttributedCharacterIterator, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawString</h4>
<pre>public&nbsp;void&nbsp;drawString(java.text.AttributedCharacterIterator&nbsp;iterator,
              int&nbsp;x,
              int&nbsp;y)</pre>
<div class="block">Draws the text given by the specified iterator, using this
 graphics context's current color. The iterator has to specify a font
 for each character. The baseline of the
 first character is at position (<i>x</i>,&nbsp;<i>y</i>) in this
 graphics context's coordinate system.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawString</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>iterator</code> - the iterator whose text is to be drawn</dd><dd><code>x</code> - the <i>x</i> coordinate.</dd><dd><code>y</code> - the <i>y</i> coordinate.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Graphics.drawBytes(byte[], int, int, int, int)</code>, 
<code>Graphics.drawChars(char[], int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="clearRect(int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearRect</h4>
<pre>public&nbsp;void&nbsp;clearRect(int&nbsp;x,
             int&nbsp;y,
             int&nbsp;width,
             int&nbsp;height)</pre>
<div class="block">Clears the specified rectangle by filling it with the background
 color of the current drawing surface. This operation does not
 use the current paint mode.
 <p>
 Beginning with Java&nbsp;1.1, the background color
 of offscreen images may be system dependent. Applications should
 use <code>setColor</code> followed by <code>fillRect</code> to
 ensure that an offscreen image is cleared to a specific color.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>clearRect</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the <i>x</i> coordinate of the rectangle to clear.</dd><dd><code>y</code> - the <i>y</i> coordinate of the rectangle to clear.</dd><dd><code>width</code> - the width of the rectangle to clear.</dd><dd><code>height</code> - the height of the rectangle to clear.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Graphics.fillRect(int, int, int, int)</code>, 
<code>Graphics.drawRect(int, int, int, int)</code>, 
<code>Graphics.setColor(java.awt.Color)</code>, 
<code>Graphics.setPaintMode()</code>, 
<code>Graphics.setXORMode(java.awt.Color)</code></dd></dl>
</li>
</ul>
<a name="copyArea(int, int, int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>copyArea</h4>
<pre>public&nbsp;void&nbsp;copyArea(int&nbsp;x,
            int&nbsp;y,
            int&nbsp;width,
            int&nbsp;height,
            int&nbsp;dx,
            int&nbsp;dy)</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>copyArea</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
</dl>
</li>
</ul>
<a name="setClip(int, int, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setClip</h4>
<pre>public&nbsp;void&nbsp;setClip(int&nbsp;x,
           int&nbsp;y,
           int&nbsp;width,
           int&nbsp;height)</pre>
<div class="block">Sets the current clip to the rectangle specified by the given
 coordinates.  This method sets the user clip, which is
 independent of the clipping associated with device bounds
 and window visibility.
 Rendering operations have no effect outside of the clipping area.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setClip</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>x</code> - the <i>x</i> coordinate of the new clip rectangle.</dd><dd><code>y</code> - the <i>y</i> coordinate of the new clip rectangle.</dd><dd><code>width</code> - the width of the new clip rectangle.</dd><dd><code>height</code> - the height of the new clip rectangle.</dd><dt><span class="strong">Since:</span></dt>
  <dd>JDK1.1</dd>
<dt><span class="strong">See Also:</span></dt><dd><code>Graphics.clipRect(int, int, int, int)</code>, 
<code>Graphics.setClip(Shape)</code></dd></dl>
</li>
</ul>
<a name="rotate(double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rotate</h4>
<pre>public&nbsp;void&nbsp;rotate(double&nbsp;theta)</pre>
<div class="block">Concatenates the current <code>Graphics2D</code>
 <code>Transform</code> with a rotation transform.
 Subsequent rendering is rotated by the specified radians relative
 to the previous origin.
 This is equivalent to calling <code>transform(R)</code>, where R is an
 <code>AffineTransform</code> represented by the following matrix:
 <pre>
          [   cos(theta)    -sin(theta)    0   ]
          [   sin(theta)     cos(theta)    0   ]
          [       0              0         1   ]
 </pre>
 Rotating with a positive angle theta rotates points on the positive
 x axis toward the positive y axis.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>rotate</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>theta</code> - the angle of rotation in radians</dd></dl>
</li>
</ul>
<a name="rotate(double, double, double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>rotate</h4>
<pre>public&nbsp;void&nbsp;rotate(double&nbsp;theta,
          double&nbsp;x,
          double&nbsp;y)</pre>
<div class="block">Concatenates the current <code>Graphics2D</code>
 <code>Transform</code> with a translated rotation
 transform.  Subsequent rendering is transformed by a transform
 which is constructed by translating to the specified location,
 rotating by the specified radians, and translating back by the same
 amount as the original translation.  This is equivalent to the
 following sequence of calls:
 <pre>
          translate(x, y);
          rotate(theta);
          translate(-x, -y);
 </pre>
 Rotating with a positive angle theta rotates points on the positive
 x axis toward the positive y axis.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>rotate</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>theta</code> - the angle of rotation in radians</dd><dd><code>x</code> - x coordinate of the origin of the rotation</dd><dd><code>y</code> - y coordinate of the origin of the rotation</dd></dl>
</li>
</ul>
<a name="shear(double, double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>shear</h4>
<pre>public&nbsp;void&nbsp;shear(double&nbsp;shx,
         double&nbsp;shy)</pre>
<div class="block">Concatenates the current <code>Graphics2D</code>
 <code>Transform</code> with a shearing transform.
 Subsequent renderings are sheared by the specified
 multiplier relative to the previous position.
 This is equivalent to calling <code>transform(SH)</code>, where SH
 is an <code>AffineTransform</code> represented by the following
 matrix:
 <pre>
          [   1   shx   0   ]
          [  shy   1    0   ]
          [   0    0    1   ]
 </pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>shear</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>shx</code> - the multiplier by which coordinates are shifted in
 the positive X axis direction as a function of their Y coordinate</dd><dd><code>shy</code> - the multiplier by which coordinates are shifted in
 the positive Y axis direction as a function of their X coordinate</dd></dl>
</li>
</ul>
<a name="getFontRenderContext()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFontRenderContext</h4>
<pre>public&nbsp;java.awt.font.FontRenderContext&nbsp;getFontRenderContext()</pre>
<div class="block">Get the rendering context of the <code>Font</code> within this
 <code>Graphics2D</code> context.
 The <code>FontRenderContext</code>
 encapsulates application hints such as anti-aliasing and
 fractional metrics, as well as target device specific information
 such as dots-per-inch.  This information should be provided by the
 application when using objects that perform typographical
 formatting, such as <code>Font</code> and
 <code>TextLayout</code>.  This information should also be provided
 by applications that perform their own layout and need accurate
 measurements of various characteristics of glyphs such as advance
 and line height when various rendering hints have been applied to
 the text rendering.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getFontRenderContext</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a reference to an instance of FontRenderContext.</dd><dt><span class="strong">Since:</span></dt>
  <dd>JDK1.2</dd>
<dt><span class="strong">See Also:</span></dt><dd><code>FontRenderContext</code>, 
<code>Font.createGlyphVector(FontRenderContext,char[])</code>, 
<code>TextLayout</code></dd></dl>
</li>
</ul>
<a name="transform(java.awt.geom.AffineTransform)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>transform</h4>
<pre>public&nbsp;void&nbsp;transform(java.awt.geom.AffineTransform&nbsp;Tx)</pre>
<div class="block">Composes an <code>AffineTransform</code> object with the
 <code>Transform</code> in this <code>Graphics2D</code> according
 to the rule last-specified-first-applied.  If the current
 <code>Transform</code> is Cx, the result of composition
 with Tx is a new <code>Transform</code> Cx'.  Cx' becomes the
 current <code>Transform</code> for this <code>Graphics2D</code>.
 Transforming a point p by the updated <code>Transform</code> Cx' is
 equivalent to first transforming p by Tx and then transforming
 the result by the original <code>Transform</code> Cx.  In other
 words, Cx'(p) = Cx(Tx(p)).  A copy of the Tx is made, if necessary,
 so further modifications to Tx do not affect rendering.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>transform</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>Tx</code> - the <code>AffineTransform</code> object to be composed with
 the current <code>Transform</code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setTransform(java.awt.geom.AffineTransform)"><code>setTransform(java.awt.geom.AffineTransform)</code></a>, 
<code>AffineTransform</code></dd></dl>
</li>
</ul>
<a name="drawImage(java.awt.image.BufferedImage, java.awt.image.BufferedImageOp, int, int)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawImage</h4>
<pre>public&nbsp;void&nbsp;drawImage(java.awt.image.BufferedImage&nbsp;img,
             java.awt.image.BufferedImageOp&nbsp;op,
             int&nbsp;x,
             int&nbsp;y)</pre>
<div class="block">Renders a <code>BufferedImage</code> that is
 filtered with a
 <code>BufferedImageOp</code>.
 The rendering attributes applied include the <code>Clip</code>,
 <code>Transform</code>
 and <code>Composite</code> attributes.  This is equivalent to:
 <pre>
 img1 = op.filter(img, null);
 drawImage(img1, new AffineTransform(1f,0f,0f,1f,x,y), null);
 </pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>img</code> - the <code>BufferedImage</code> to be rendered</dd><dd><code>op</code> - the filter to be applied to the image before rendering</dd><dd><code>x</code> - the x coordinate in user space where the image is rendered</dd><dd><code>y</code> - the y coordinate in user space where the image is rendered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#_transform"><code>_transform</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setTransform(java.awt.geom.AffineTransform)"><code>setTransform(java.awt.geom.AffineTransform)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setComposite(java.awt.Composite)"><code>setComposite(java.awt.Composite)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#clip(java.awt.Shape)"><code>clip(java.awt.Shape)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setClip(java.awt.Shape)"><code>setClip(Shape)</code></a></dd></dl>
</li>
</ul>
<a name="setBackground(java.awt.Color)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBackground</h4>
<pre>public&nbsp;void&nbsp;setBackground(java.awt.Color&nbsp;color)</pre>
<div class="block">Sets the background color for the <code>Graphics2D</code> context.
 The background color is used for clearing a region.
 When a <code>Graphics2D</code> is constructed for a
 <code>Component</code>, the background color is
 inherited from the <code>Component</code>. Setting the background color
 in the <code>Graphics2D</code> context only affects the subsequent
 <code>clearRect</code> calls and not the background color of the
 <code>Component</code>.  To change the background
 of the <code>Component</code>, use appropriate methods of
 the <code>Component</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setBackground</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>color</code> - the background color that isused in
 subsequent calls to <code>clearRect</code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#getBackground()"><code>getBackground()</code></a>, 
<code>Graphics.clearRect(int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="getBackground()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBackground</h4>
<pre>public&nbsp;java.awt.Color&nbsp;getBackground()</pre>
<div class="block">Returns the background color used for clearing a region.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getBackground</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the current <code>Graphics2D</code> <code>Color</code>,
 which defines the background color.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setBackground(java.awt.Color)"><code>setBackground(java.awt.Color)</code></a></dd></dl>
</li>
</ul>
<a name="setComposite(java.awt.Composite)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setComposite</h4>
<pre>public&nbsp;void&nbsp;setComposite(java.awt.Composite&nbsp;comp)</pre>
<div class="block">Sets the <code>Composite</code> for the <code>Graphics2D</code> context.
 The <code>Composite</code> is used in all drawing methods such as
 <code>drawImage</code>, <code>drawString</code>, <code>draw</code>,
 and <code>fill</code>.  It specifies how new pixels are to be combined
 with the existing pixels on the graphics device during the rendering
 process.
 <p>If this <code>Graphics2D</code> context is drawing to a
 <code>Component</code> on the display screen and the
 <code>Composite</code> is a custom object rather than an
 instance of the <code>AlphaComposite</code> class, and if
 there is a security manager, its <code>checkPermission</code>
 method is called with an <code>AWTPermission("readDisplayPixels")</code>
 permission.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setComposite</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>comp</code> - the <code>Composite</code> object to be used for rendering</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.SecurityException</code> - if a custom <code>Composite</code> object is being
         used to render to the screen and a security manager
         is set and its <code>checkPermission</code> method
         does not allow the operation.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Graphics.setXORMode(java.awt.Color)</code>, 
<code>Graphics.setPaintMode()</code>, 
<code>AlphaComposite</code></dd></dl>
</li>
</ul>
<a name="getComposite()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getComposite</h4>
<pre>public&nbsp;java.awt.Composite&nbsp;getComposite()</pre>
<div class="block">Returns the current <code>Composite</code> in the
 <code>Graphics2D</code> context.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getComposite</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the current <code>Graphics2D</code> <code>Composite</code>,
              which defines a compositing style.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setComposite(java.awt.Composite)"><code>setComposite(java.awt.Composite)</code></a></dd></dl>
</li>
</ul>
<a name="getRenderingHint(java.awt.RenderingHints.Key)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRenderingHint</h4>
<pre>public&nbsp;java.lang.Object&nbsp;getRenderingHint(java.awt.RenderingHints.Key&nbsp;hintKey)</pre>
<div class="block">Returns the value of a single preference for the rendering algorithms.
 Hint categories include controls for rendering quality and overall
 time/quality trade-off in the rendering process.  Refer to the
 <code>RenderingHints</code> class for definitions of some common
 keys and values.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getRenderingHint</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>hintKey</code> - the key corresponding to the hint to get.</dd>
<dt><span class="strong">Returns:</span></dt><dd>an object representing the value for the specified hint key.
 Some of the keys and their associated values are defined in the
 <code>RenderingHints</code> class.</dd><dt><span class="strong">See Also:</span></dt><dd><code>RenderingHints</code></dd></dl>
</li>
</ul>
<a name="setRenderingHint(java.awt.RenderingHints.Key, java.lang.Object)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRenderingHint</h4>
<pre>public&nbsp;void&nbsp;setRenderingHint(java.awt.RenderingHints.Key&nbsp;hintKey,
                    java.lang.Object&nbsp;hintValue)</pre>
<div class="block">Sets the value of a single preference for the rendering algorithms.
 Hint categories include controls for rendering quality and overall
 time/quality trade-off in the rendering process.  Refer to the
 <code>RenderingHints</code> class for definitions of some common
 keys and values.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setRenderingHint</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>hintKey</code> - the key of the hint to be set.</dd><dd><code>hintValue</code> - the value indicating preferences for the specified
 hint category.</dd><dt><span class="strong">See Also:</span></dt><dd><code>RenderingHints</code></dd></dl>
</li>
</ul>
<a name="drawGlyphVector(java.awt.font.GlyphVector, float, float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawGlyphVector</h4>
<pre>public&nbsp;void&nbsp;drawGlyphVector(java.awt.font.GlyphVector&nbsp;g,
                   float&nbsp;x,
                   float&nbsp;y)</pre>
<div class="block">Renders the text of the specified
 <code>GlyphVector</code> using
 the <code>Graphics2D</code> context's rendering attributes.
 The rendering attributes applied include the <code>Clip</code>,
 <code>Transform</code>, <code>Paint</code>, and
 <code>Composite</code> attributes.  The <code>GlyphVector</code>
 specifies individual glyphs from a <code>Font</code>.
 The <code>GlyphVector</code> can also contain the glyph positions.
 This is the fastest way to render a set of characters to the
 screen.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawGlyphVector</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>g</code> - the <code>GlyphVector</code> to be rendered</dd><dd><code>x</code> - the x position in user space where the glyphs should be
        rendered</dd><dd><code>y</code> - the y position in user space where the glyphs should be
        rendered</dd><dt><span class="strong">See Also:</span></dt><dd><code>Font.createGlyphVector(FontRenderContext, char[])</code>, 
<code>GlyphVector</code>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setPaint(java.awt.Paint)"><code>setPaint(java.awt.Paint)</code></a>, 
<code>Graphics.setColor(java.awt.Color)</code>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setTransform(java.awt.geom.AffineTransform)"><code>setTransform(java.awt.geom.AffineTransform)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setComposite(java.awt.Composite)"><code>setComposite(java.awt.Composite)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setClip(java.awt.Shape)"><code>setClip(Shape)</code></a></dd></dl>
</li>
</ul>
<a name="getDeviceConfiguration()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDeviceConfiguration</h4>
<pre>public&nbsp;java.awt.GraphicsConfiguration&nbsp;getDeviceConfiguration()</pre>
<div class="block">Returns the device configuration associated with this
 <code>Graphics2D</code>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getDeviceConfiguration</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>the device configuration</dd></dl>
</li>
</ul>
<a name="addRenderingHints(java.util.Map)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addRenderingHints</h4>
<pre>public&nbsp;void&nbsp;addRenderingHints(java.util.Map&nbsp;hints)</pre>
<div class="block">Sets the values of an arbitrary number of preferences for the
 rendering algorithms.
 Only values for the rendering hints that are present in the
 specified <code>Map</code> object are modified.
 All other preferences not present in the specified
 object are left unmodified.
 Hint categories include controls for rendering quality and
 overall time/quality trade-off in the rendering process.
 Refer to the <code>RenderingHints</code> class for definitions of
 some common keys and values.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>addRenderingHints</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>hints</code> - the rendering hints to be set</dd><dt><span class="strong">See Also:</span></dt><dd><code>RenderingHints</code></dd></dl>
</li>
</ul>
<a name="translate(double, double)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>translate</h4>
<pre>public&nbsp;void&nbsp;translate(double&nbsp;tx,
             double&nbsp;ty)</pre>
<div class="block">Concatenates the current
 <code>Graphics2D</code> <code>Transform</code>
 with a translation transform.
 Subsequent rendering is translated by the specified
 distance relative to the previous position.
 This is equivalent to calling transform(T), where T is an
 <code>AffineTransform</code> represented by the following matrix:
 <pre>
          [   1    0    tx  ]
          [   0    1    ty  ]
          [   0    0    1   ]
 </pre></div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>translate</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>tx</code> - the distance to translate along the x-axis</dd><dd><code>ty</code> - the distance to translate along the y-axis</dd></dl>
</li>
</ul>
<a name="drawString(java.text.AttributedCharacterIterator, float, float)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawString</h4>
<pre>public&nbsp;void&nbsp;drawString(java.text.AttributedCharacterIterator&nbsp;iterator,
              float&nbsp;x,
              float&nbsp;y)</pre>
<div class="block">Renders the text of the specified iterator, using the
 <code>Graphics2D</code> context's current <code>Paint</code>. The
 iterator must specify a font
 for each character. The baseline of the
 first character is at position (<i>x</i>,&nbsp;<i>y</i>) in the
 User Space.
 The rendering attributes applied include the <code>Clip</code>,
 <code>Transform</code>, <code>Paint</code>, and
 <code>Composite</code> attributes.
 For characters in script systems such as Hebrew and Arabic,
 the glyphs can be rendered from right to left, in which case the
 coordinate supplied is the location of the leftmost character
 on the baseline.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawString</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>iterator</code> - the iterator whose text is to be rendered</dd><dd><code>x</code> - the x coordinate where the iterator's text is to be
 rendered</dd><dd><code>y</code> - the y coordinate where the iterator's text is to be
 rendered</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setPaint(java.awt.Paint)"><code>setPaint(java.awt.Paint)</code></a>, 
<code>Graphics.setColor(java.awt.Color)</code>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setTransform(java.awt.geom.AffineTransform)"><code>setTransform(java.awt.geom.AffineTransform)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setComposite(java.awt.Composite)"><code>setComposite(java.awt.Composite)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setClip(java.awt.Shape)"><code>setClip(java.awt.Shape)</code></a></dd></dl>
</li>
</ul>
<a name="hit(java.awt.Rectangle, java.awt.Shape, boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>hit</h4>
<pre>public&nbsp;boolean&nbsp;hit(java.awt.Rectangle&nbsp;rect,
          java.awt.Shape&nbsp;s,
          boolean&nbsp;onStroke)</pre>
<div class="block">Checks whether or not the specified <code>Shape</code> intersects
 the specified <code>Rectangle</code>, which is in device
 space. If <code>onStroke</code> is false, this method checks
 whether or not the interior of the specified <code>Shape</code>
 intersects the specified <code>Rectangle</code>.  If
 <code>onStroke</code> is <code>true</code>, this method checks
 whether or not the <code>Stroke</code> of the specified
 <code>Shape</code> outline intersects the specified
 <code>Rectangle</code>.
 The rendering attributes taken into account include the
 <code>Clip</code>, <code>Transform</code>, and <code>Stroke</code>
 attributes.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>hit</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>rect</code> - the area in device space to check for a hit</dd><dd><code>s</code> - the <code>Shape</code> to check for a hit</dd><dd><code>onStroke</code> - flag used to choose between testing the
 stroked or the filled shape.  If the flag is <code>true</code>, the
 <code>Stroke</code> oultine is tested.  If the flag is
 <code>false</code>, the filled <code>Shape</code> is tested.</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if there is a hit; <code>false</code>
 otherwise.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setStroke(java.awt.Stroke)"><code>setStroke(java.awt.Stroke)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#fill(java.awt.Shape)"><code>fill(Shape)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#draw(java.awt.Shape)"><code>draw(Shape)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#_transform"><code>_transform</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setTransform(java.awt.geom.AffineTransform)"><code>setTransform(java.awt.geom.AffineTransform)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#clip(java.awt.Shape)"><code>clip(java.awt.Shape)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setClip(java.awt.Shape)"><code>setClip(Shape)</code></a></dd></dl>
</li>
</ul>
<a name="getRenderingHints()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRenderingHints</h4>
<pre>public&nbsp;java.awt.RenderingHints&nbsp;getRenderingHints()</pre>
<div class="block">Gets the preferences for the rendering algorithms.  Hint categories
 include controls for rendering quality and overall time/quality
 trade-off in the rendering process.
 Returns all of the hint key/value pairs that were ever specified in
 one operation.  Refer to the
 <code>RenderingHints</code> class for definitions of some common
 keys and values.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getRenderingHints</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a reference to an instance of <code>RenderingHints</code>
 that contains the current preferences.</dd><dt><span class="strong">See Also:</span></dt><dd><code>RenderingHints</code></dd></dl>
</li>
</ul>
<a name="setRenderingHints(java.util.Map)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setRenderingHints</h4>
<pre>public&nbsp;void&nbsp;setRenderingHints(java.util.Map&nbsp;hints)</pre>
<div class="block">Replaces the values of all preferences for the rendering
 algorithms with the specified <code>hints</code>.
 The existing values for all rendering hints are discarded and
 the new set of known hints and values are initialized from the
 specified <code>Map</code> object.
 Hint categories include controls for rendering quality and
 overall time/quality trade-off in the rendering process.
 Refer to the <code>RenderingHints</code> class for definitions of
 some common keys and values.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setRenderingHints</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>hints</code> - the rendering hints to be set</dd><dt><span class="strong">See Also:</span></dt><dd><code>RenderingHints</code></dd></dl>
</li>
</ul>
<a name="drawImage(java.awt.Image, java.awt.geom.AffineTransform, java.awt.image.ImageObserver)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawImage</h4>
<pre>public&nbsp;boolean&nbsp;drawImage(java.awt.Image&nbsp;img,
                java.awt.geom.AffineTransform&nbsp;xform,
                java.awt.image.ImageObserver&nbsp;obs)</pre>
<div class="block">Renders an image, applying a transform from image space into user space
 before drawing.
 The transformation from user space into device space is done with
 the current <code>Transform</code> in the <code>Graphics2D</code>.
 The specified transformation is applied to the image before the
 transform attribute in the <code>Graphics2D</code> context is applied.
 The rendering attributes applied include the <code>Clip</code>,
 <code>Transform</code>, and <code>Composite</code> attributes.
 Note that no rendering is done if the specified transform is
 noninvertible.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>img</code> - the <code>Image</code> to be rendered</dd><dd><code>xform</code> - the transformation from image space into user space</dd><dd><code>obs</code> - the <code>ImageObserver</code>
 to be notified as more of the <code>Image</code>
 is converted</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the <code>Image</code> is
 fully loaded and completely rendered;
 <code>false</code> if the <code>Image</code> is still being loaded.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#_transform"><code>_transform</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setTransform(java.awt.geom.AffineTransform)"><code>setTransform(java.awt.geom.AffineTransform)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setComposite(java.awt.Composite)"><code>setComposite(java.awt.Composite)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#clip(java.awt.Shape)"><code>clip(java.awt.Shape)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setClip(java.awt.Shape)"><code>setClip(Shape)</code></a></dd></dl>
</li>
</ul>
<a name="drawImage(java.awt.Image, int, int, int, int, java.awt.image.ImageObserver)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawImage</h4>
<pre>public&nbsp;boolean&nbsp;drawImage(java.awt.Image&nbsp;img,
                int&nbsp;x,
                int&nbsp;y,
                int&nbsp;width,
                int&nbsp;height,
                java.awt.image.ImageObserver&nbsp;observer)</pre>
<div class="block">Draws as much of the specified image as has already been scaled
 to fit inside the specified rectangle.
 <p>
 The image is drawn inside the specified rectangle of this
 graphics context's coordinate space, and is scaled if
 necessary. Transparent pixels do not affect whatever pixels
 are already there.
 <p>
 This method returns immediately in all cases, even if the
 entire image has not yet been scaled, dithered, and converted
 for the current output device.
 If the current output representation is not yet complete, then
 <code>drawImage</code> returns <code>false</code>. As more of
 the image becomes available, the process that loads the image notifies
 the image observer by calling its <code>imageUpdate</code> method.
 <p>
 A scaled version of an image will not necessarily be
 available immediately just because an unscaled version of the
 image has been constructed for this output device.  Each size of
 the image may be cached separately and generated from the original
 data in a separate image production sequence.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>img</code> - the specified image to be drawn. This method does
                  nothing if <code>img</code> is null.</dd><dd><code>x</code> - the <i>x</i> coordinate.</dd><dd><code>y</code> - the <i>y</i> coordinate.</dd><dd><code>width</code> - the width of the rectangle.</dd><dd><code>height</code> - the height of the rectangle.</dd><dd><code>observer</code> - object to be notified as more of
                          the image is converted.</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>false</code> if the image pixels are still changing;
           <code>true</code> otherwise.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Image</code>, 
<code>ImageObserver</code>, 
<code>ImageObserver.imageUpdate(java.awt.Image, int, int, int, int, int)</code></dd></dl>
</li>
</ul>
<a name="create()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>create</h4>
<pre>public&nbsp;java.awt.Graphics&nbsp;create()</pre>
<div class="block">Creates a new <code>Graphics</code> object that is
 a copy of this <code>Graphics</code> object.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>create</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>a new graphics context that is a copy of
                       this graphics context.</dd></dl>
</li>
</ul>
<a name="getFontMetrics(java.awt.Font)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFontMetrics</h4>
<pre>public&nbsp;java.awt.FontMetrics&nbsp;getFontMetrics(java.awt.Font&nbsp;f)</pre>
<div class="block">Gets the font metrics for the specified font.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getFontMetrics</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>f</code> - the specified font</dd>
<dt><span class="strong">Returns:</span></dt><dd>the font metrics for the specified font.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Graphics.getFont()</code>, 
<code>FontMetrics</code>, 
<code>Graphics.getFontMetrics()</code></dd></dl>
</li>
</ul>
<a name="setXORMode(java.awt.Color)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setXORMode</h4>
<pre>public&nbsp;void&nbsp;setXORMode(java.awt.Color&nbsp;c1)</pre>
<div class="block">Sets the paint mode of this graphics context to alternate between
 this graphics context's current color and the new specified color.
 This specifies that logical pixel operations are performed in the
 XOR mode, which alternates pixels between the current color and
 a specified XOR color.
 <p>
 When drawing operations are performed, pixels which are the
 current color are changed to the specified color, and vice versa.
 <p>
 Pixels that are of colors other than those two colors are changed
 in an unpredictable but reversible manner; if the same figure is
 drawn twice, then all pixels are restored to their original values.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setXORMode</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>c1</code> - the XOR alternation color</dd></dl>
</li>
</ul>
<a name="setPaintMode()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPaintMode</h4>
<pre>public&nbsp;void&nbsp;setPaintMode()</pre>
<div class="block">Sets the paint mode of this graphics context to overwrite the
 destination with this graphics context's current color.
 This sets the logical pixel operation function to the paint or
 overwrite mode.  All subsequent rendering operations will
 overwrite the destination with the current color.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setPaintMode</code>&nbsp;in class&nbsp;<code>java.awt.Graphics</code></dd>
</dl>
</li>
</ul>
<a name="drawRenderedImage(java.awt.image.RenderedImage, java.awt.geom.AffineTransform)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawRenderedImage</h4>
<pre>public&nbsp;void&nbsp;drawRenderedImage(java.awt.image.RenderedImage&nbsp;img,
                     java.awt.geom.AffineTransform&nbsp;xform)</pre>
<div class="block">Renders a
 <code>RenderableImage</code>,
 applying a transform from image space into user space before drawing.
 The transformation from user space into device space is done with
 the current <code>Transform</code> in the <code>Graphics2D</code>.
 The specified transformation is applied to the image before the
 transform attribute in the <code>Graphics2D</code> context is applied.
 The rendering attributes applied include the <code>Clip</code>,
 <code>Transform</code>, and <code>Composite</code> attributes. Note
 that no rendering is done if the specified transform is
 noninvertible.
<p>
 Rendering hints set on the <code>Graphics2D</code> object might
 be used in rendering the <code>RenderableImage</code>.
 If explicit control is required over specific hints recognized by a
 specific <code>RenderableImage</code>, or if knowledge of which hints
 are used is required, then a <code>RenderedImage</code> should be
 obtained directly from the <code>RenderableImage</code>
 and rendered using
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawRenderedImage(java.awt.image.RenderedImage, java.awt.geom.AffineTransform)"><code>drawRenderedImage</code></a>.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawRenderedImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>img</code> - the image to be rendered. This method does
            nothing if <code>img</code> is null.</dd><dd><code>xform</code> - the transformation from image space into user space</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#_transform"><code>_transform</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setTransform(java.awt.geom.AffineTransform)"><code>setTransform(java.awt.geom.AffineTransform)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setComposite(java.awt.Composite)"><code>setComposite(java.awt.Composite)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#clip(java.awt.Shape)"><code>clip(java.awt.Shape)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setClip(java.awt.Shape)"><code>setClip(java.awt.Shape)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#drawRenderedImage(java.awt.image.RenderedImage, java.awt.geom.AffineTransform)"><code>drawRenderedImage(java.awt.image.RenderedImage, java.awt.geom.AffineTransform)</code></a></dd></dl>
</li>
</ul>
<a name="drawRenderableImage(java.awt.image.renderable.RenderableImage, java.awt.geom.AffineTransform)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>drawRenderableImage</h4>
<pre>public&nbsp;void&nbsp;drawRenderableImage(java.awt.image.renderable.RenderableImage&nbsp;img,
                       java.awt.geom.AffineTransform&nbsp;xform)</pre>
<div class="block">Renders a <code>RenderedImage</code>,
 applying a transform from image
 space into user space before drawing.
 The transformation from user space into device space is done with
 the current <code>Transform</code> in the <code>Graphics2D</code>.
 The specified transformation is applied to the image before the
 transform attribute in the <code>Graphics2D</code> context is applied.
 The rendering attributes applied include the <code>Clip</code>,
 <code>Transform</code>, and <code>Composite</code> attributes. Note
 that no rendering is done if the specified transform is
 noninvertible.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>drawRenderableImage</code>&nbsp;in class&nbsp;<code>java.awt.Graphics2D</code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>img</code> - the image to be rendered. This method does
            nothing if <code>img</code> is null.</dd><dd><code>xform</code> - the transformation from image space into user space</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#_transform"><code>_transform</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setTransform(java.awt.geom.AffineTransform)"><code>setTransform(java.awt.geom.AffineTransform)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setComposite(java.awt.Composite)"><code>setComposite(java.awt.Composite)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#clip(java.awt.Shape)"><code>clip(java.awt.Shape)</code></a>, 
<a href="../../../../../org/apache/poi/hslf/model/PPGraphics2D.html#setClip(java.awt.Shape)"><code>setClip(java.awt.Shape)</code></a></dd></dl>
</li>
</ul>
<a name="applyStroke(org.apache.poi.hslf.model.SimpleShape)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>applyStroke</h4>
<pre>protected&nbsp;void&nbsp;applyStroke(<a href="../../../../../org/apache/poi/hslf/model/SimpleShape.html" title="class in org.apache.poi.hslf.model">SimpleShape</a>&nbsp;shape)</pre>
</li>
</ul>
<a name="applyPaint(org.apache.poi.hslf.model.SimpleShape)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>applyPaint</h4>
<pre>protected&nbsp;void&nbsp;applyPaint(<a href="../../../../../org/apache/poi/hslf/model/SimpleShape.html" title="class in org.apache.poi.hslf.model">SimpleShape</a>&nbsp;shape)</pre>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/PPGraphics2D.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../../index-all.html">Index</a></li>
<li><a href="../../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../../org/apache/poi/hslf/model/PPFont.html" title="class in org.apache.poi.hslf.model"><span class="strong">PREV CLASS</span></a></li>
<li><a href="../../../../../org/apache/poi/hslf/model/Shape.html" title="class in org.apache.poi.hslf.model"><span class="strong">NEXT CLASS</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../../index.html?org/apache/poi/hslf/model/PPGraphics2D.html" target="_top">FRAMES</a></li>
<li><a href="PPGraphics2D.html" target="_top">NO FRAMES</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>SUMMARY:&nbsp;</li>
<li>NESTED&nbsp;|&nbsp;</li>
<li><a href="#field_summary">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">METHOD</a></li>
</ul>
<ul class="subNavList">
<li>DETAIL:&nbsp;</li>
<li><a href="#field_detail">FIELD</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">CONSTR</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">METHOD</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>
                <i>Copyright 2014 The Apache Software Foundation or
        its licensors, as applicable.</i>
            </small></p>
</body>
</html>
